package com.zhiqianbao.entity;

import com.orm.SugarRecord;
import com.orm.dsl.Table;

/**
* @ClassName: UserIdphoto
* @Description: 用户持证拍照信息表
* @author 李兴达
* @date 2015年12月26日 下午3:10:31
*
*/
@Table
public class UserIdphoto extends SugarRecord {
	/**
	* @Fields userId :用户id
	*/ 
	private Long userId;
	/**
	* @Fields idcard : 身份证
	*/ 
	private String idcard;
	/**
	* @Fields idcardFront : 身份证正面
	*/ 
	private String idcardFront;
	/**
	* @Fields idcardBack : 身份证反面
	*/ 
	private String idcardBack;
	/**
	* @Fields idcardhand : 手持身份证
	*/ 
	private String idcardHand;
	/**
	* @Fields createTime : 拍照时间
	*/ 
	private Long createTime;
	/**
	* @Fields state : 状态
	*/ 
	private String state;
	
	/**
	 * @Fields mobileIdCardHand : 手机中手持身份证图片路径
	 */ 
	private String mobileIdCardHand;
	/**
	 * @Fields mobileIdCardFront : 手机中身份证正面图片路径
	 */
	private String mobileIdCardFront;
	/**
	 * @Fields mobileIdCardBack : 手机中身份证反面图片路径
	 */ 
	private String mobileIdCardBack;

	/**
	* @Fields user : 所属用户
	*/ 
	private User user;

	private String cardHandUrl;
	private String cardFrontUrl;
	private String cardBackUrl;
	
	
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getIdcard() {
		return idcard;
	}
	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}
	public String getIdcardFront() {
		return idcardFront;
	}
	public void setIdcardFront(String idcardFront) {
		this.idcardFront = idcardFront;
	}
	public String getIdcardBack() {
		return idcardBack;
	}
	public void setIdcardBack(String idcardBack) {
		this.idcardBack = idcardBack;
	}
	public String getIdcardHand() {
		return idcardHand;
	}
	public void setIdcardHand(String idcardHand) {
		this.idcardHand = idcardHand;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public String getMobileIdCardHand() {
		return mobileIdCardHand;
	}
	public void setMobileIdCardHand(String mobileIdCardHand) {
		this.mobileIdCardHand = mobileIdCardHand;
	}
	public String getMobileIdCardFront() {
		return mobileIdCardFront;
	}
	public void setMobileIdCardFront(String mobileIdCardFront) {
		this.mobileIdCardFront = mobileIdCardFront;
	}
	public String getMobileIdCardBack() {
		return mobileIdCardBack;
	}
	public void setMobileIdCardBack(String mobileIdCardBack) {
		this.mobileIdCardBack = mobileIdCardBack;
	}


	public String getCardHandUrl() {
		return cardHandUrl;
	}

	public void setCardHandUrl(String cardHandUrl) {
		this.cardHandUrl = cardHandUrl;
	}

	public String getCardFrontUrl() {
		return cardFrontUrl;
	}

	public void setCardFrontUrl(String cardFrontUrl) {
		this.cardFrontUrl = cardFrontUrl;
	}

	public String getCardBackUrl() {
		return cardBackUrl;
	}

	public void setCardBackUrl(String cardBackUrl) {
		this.cardBackUrl = cardBackUrl;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "UserIdphoto{" +
				"userId=" + userId +
				", idcard='" + idcard + '\'' +
				", idcardFront='" + idcardFront + '\'' +
				", idcardBack='" + idcardBack + '\'' +
				", idcardHand='" + idcardHand + '\'' +
				", createTime=" + createTime +
				", state='" + state + '\'' +
				", mobileIdCardHand='" + mobileIdCardHand + '\'' +
				", mobileIdCardFront='" + mobileIdCardFront + '\'' +
				", mobileIdCardBack='" + mobileIdCardBack + '\'' +
				", user=" + user +
				", cardHandUrl='" + cardHandUrl + '\'' +
				", cardFrontUrl='" + cardFrontUrl + '\'' +
				", cardBackUrl='" + cardBackUrl + '\'' +
				'}';
	}
}
